/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package xmibase;

/**
 *
 * @author Felipe Gutierrez
 */


import java.util.ArrayList;

public class XmiAssociation {
	private String id;
	private ArrayList<XmiAssociationEnd> associationsEnd;
	private ArrayList<XmiTagValue> tagsValue;

	public XmiAssociation() {
		this.associationsEnd = new ArrayList<XmiAssociationEnd>();
		this.tagsValue = new ArrayList<XmiTagValue>();
	}
	public void addTagValue(XmiTagValue tag) {

		this.tagsValue.add(tag);
	}

	public ArrayList<XmiAssociationEnd> getAssociationsEnd() {
		return associationsEnd;
	}

	public void setAssociationsEnd(ArrayList<XmiAssociationEnd> associationsEnd) {
		this.associationsEnd = associationsEnd;
	}

	public ArrayList<XmiTagValue> getTagsValue() {
		return tagsValue;
	}

	public void setTagsValue(ArrayList<XmiTagValue> tagsValue) {
		this.tagsValue = tagsValue;
	}


	public void addAssociationEnd(XmiAssociationEnd associationEnd) {
		this.associationsEnd.add(associationEnd);

	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

}
